Virtual vehicle control method in virtual scene, computer device, and storage medium

ABSTRACT

A virtual vehicle control method in a virtual scene, performed by a terminal, is provided. The method includes providing a display interface of an application program, the display interface including a scene picture of the virtual scene, and the virtual scene including a virtual vehicle; obtaining a moving speed of the virtual vehicle; and adjusting, based on the moving speed of the virtual vehicle being greater than a moving speed threshold, the scene picture to a picture of the virtual vehicle being observed in the virtual scene by using a camera model in a predetermined viewing angle direction, the camera model being located at a position with respect to the virtual vehicle.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation application of U.S. application Ser.No. 17/030,505 filed Sep. 24, 2020, which is a bypass continuationapplication of International Application No. PCT/CN2019/102160, filedAug. 23, 2019, which claims priority to Chinese Patent Application No.201811009156.0, entitled “VIRTUAL VEHICLE CONTROL METHOD IN VIRTUALSCENE, COMPUTER DEVICE, AND STORAGE MEDIUM” and filed on Aug. 30, 2018,the disclosures of which are herein incorporated by reference in theirentireties.

FIELD

The disclosure relates to the field of virtual scene technologies, andin particular, to a virtual vehicle control method in a virtual scene, acomputer device, and a storage medium.

BACKGROUND

Application programs (for example, a virtual reality applicationprogram, a three-dimensional map program, a military simulation program,a first-person shooting game, and a multiplayer online battle arenagame) in which a virtual scene is constructed may provide a function ofcontrolling a virtual vehicle that is included in the virtual scene.

In the related art, in a display interface of a virtual scene presentedon a screen of a terminal (e.g., a touch screen terminal), a virtualcontrol, such as a virtual joystick or a virtual button, used forcontrolling a moving direction of a virtual vehicle in the virtual sceneis typically included. When the terminal detects a touch operation of auser on the virtual joystick or the virtual button, the terminalcontrols the virtual vehicle to move toward a direction corresponding tothe virtual joystick or the virtual button.

However, the application program in the related art only provides avirtual control used for controlling the moving direction of the virtualvehicle, and thus, only a few moving factors of the virtual vehicle inthe virtual scene may be controlled by the user, leading to a relativelypoor control effect of the user on the virtual vehicle.

SUMMARY

One or more example embodiments of the disclosure provide a method ofcontrolling a virtual vehicle in a virtual scene, a computer device, anda storage medium, that solve the problem in the related art that acontrol effect of a virtual vehicle on a user has relatively poorquality and limited due to only a few moving factors of the virtualvehicle in the virtual scene that is controllable by the user, therebyexpanding the operability of the virtual vehicle.

According to an aspect of an example embodiment, provided is a virtualvehicle control method in a virtual scene, performed by a terminal, themethod including: providing a display interface of an applicationprogram, the display interface including a scene picture of the virtualscene, and the virtual scene including a virtual vehicle; obtaining amoving speed of the virtual vehicle; and adjusting, based on the movingspeed of the virtual vehicle being greater than a moving speedthreshold, the scene picture to a picture of the virtual vehicle beingobserved in the virtual scene by using a camera model in a predeterminedviewing angle direction, the camera model being located at a positionwith respect to the virtual vehicle.

The display interface may further include at least one primary virtualcontrol that is overlaid on the scene picture, and the method mayfurther include: obtaining, in response to detecting a specifiedoperation on the at least one primary virtual control, at least one of asteering angle or a virtual throttle opening of the virtual vehicleaccording to the specified operation; and controlling the virtualvehicle to move according to the at least one of the steering angle orthe virtual throttle opening of the virtual vehicle.

The obtaining may include obtaining the virtual throttle opening of thevirtual vehicle according to the specified operation, and thecontrolling may include controlling the virtual vehicle to acceleratewithin a maximum moving speed according to the virtual throttle opening.

The display interface may further include an auxiliary virtual controlthat is overlaid on the scene picture, and the auxiliary virtual controlmay include at least one of a longitudinal attitude control forcontrolling a longitudinal attitude of the virtual vehicle, a suddenacceleration control for controlling the virtual vehicle to performsudden acceleration, a brake control for controlling the virtual vehicleto brake, or a reverse control for controlling the virtual vehicle toreverse.

According to an aspect of an example embodiment, provided is a virtualvehicle control method in a virtual scene, performed by a terminal, themethod including: providing a display interface of an applicationprogram, the display interface including a scene picture of the virtualscene and at least one primary virtual control, the virtual sceneincluding a virtual vehicle and the at least one primary virtual controlbeing overlaid on the scene picture; obtaining, in response to detectinga specified operation on the at least one primary virtual control, atleast one of a steering angle or a virtual throttle opening of thevirtual vehicle in the scene picture according to the specifiedoperation; and controlling the virtual vehicle to move according to theat least one of the steering angle or the virtual throttle opening ofthe virtual vehicle.

The controlling may include at least one of: controlling the virtualvehicle to move in a moving direction of the virtual vehicle accordingto the steering angle of the virtual vehicle; or controlling the virtualvehicle to accelerate within a maximum moving speed of the virtualvehicle according to the virtual throttle opening of the virtualvehicle.

The at least one primary virtual control may include a first virtualcontrol and a second virtual control, and the obtaining may includeobtaining the steering angle of the virtual vehicle according to aposition of a first operation performed in a region around the firstvirtual control, and/or obtaining the virtual throttle opening of thevirtual vehicle according to a position of a second operation performedin a region around the second virtual control.

The obtaining the steering angle of the virtual vehicle according to theposition of the first operation may include obtaining the steering angleof the virtual vehicle according to a directional angle or a transverseoffset distance of the position of the first operation relative to acentral position of the first virtual control, and the obtaining thevirtual throttle opening of the virtual vehicle according to theposition of the second operation may include obtaining the virtualthrottle opening of the virtual vehicle according to a directional angleof the position of the second operation relative to a central positionof the second virtual control or according to a transverse offsetdistance of the position of the second operation relative to a leftvertex or a right vertex of the second virtual control.

The at least one primary virtual control may include a third virtualcontrol, the specified operation may include a third operation performedin a region around the third virtual control, and the obtaining mayinclude obtaining the at least one of the steering angle or the virtualthrottle opening of the virtual vehicle according to a position of thethird operation.

The obtaining the at least one the steering angle or the virtualthrottle opening of the virtual vehicle according to the position of thethird operation may include: obtaining the steering angle of the virtualvehicle according to a directional angle or a transverse offset distanceof the position of the third operation relative to a central position ofthe third virtual control; and/or obtaining the virtual throttle openingof the virtual vehicle according to a straight-line distance of theposition of the third operation relative to the central position of thethird virtual control.

The display interface may further include an auxiliary virtual control,and the auxiliary virtual control may include at least one of alongitudinal attitude control for controlling a longitudinal attitude ofthe virtual vehicle, a sudden acceleration control for controlling thevirtual vehicle to perform sudden acceleration, a brake control forcontrolling the virtual vehicle to brake, or a reverse control forcontrolling the virtual vehicle to reverse.

The method may further include obtaining a moving speed of the virtualvehicle; and adjusting, based on the moving speed of the virtual vehiclebeing greater than a moving speed threshold, the scene picture to apicture of the virtual vehicle being observed in the virtual scene byusing a camera model in a predetermined viewing angle direction, thecamera model being located at a position with respect to the virtualvehicle.

According to an aspect of an example embodiment, provided is a terminal,including: at least one memory configured to store program code; and atleast one processor configured to read the program code and operate asinstructed by the program code, the program code including: an interfaceproviding code configured to cause at least one of the at least oneprocessor to provide a display interface of an application program, thedisplay interface including a scene picture of a virtual scene and atleast one primary virtual control, the virtual scene including a virtualvehicle and the at least one primary virtual control being overlaid onthe scene picture; first obtaining code configured to cause at least oneof the at least one processor to obtain in response to detecting aspecified operation on the at least one primary virtual control, atleast one of a steering angle or a virtual throttle opening of thevirtual vehicle in the scene picture according to the specifiedoperation; and control code configured to cause at least one of the atleast one processor to control the virtual vehicle to move according tothe at least one of the steering angle or the virtual throttle openingof the virtual vehicle.

The control code may further cause at least one of the at least oneprocessor to control the virtual vehicle to move in a moving directionof the virtual vehicle according to the steering angle of the virtualvehicle or control the virtual vehicle to accelerate within a maximummoving speed of the virtual vehicle according to the virtual throttleopening of the virtual vehicle.

The at least one primary virtual control may include a first virtualcontrol and a second virtual control, and the first obtaining codefurther causes at least one of the at least one processor to obtain thesteering angle of the virtual vehicle according to a position of a firstoperation performed in a region around the first virtual control, and/orobtain the virtual throttle opening of the virtual vehicle according toa position of a second operation performed in a region around the secondvirtual control.

The at least one primary virtual control may include a third virtualcontrol, the specified operation may include a third operation performedin a region around the third virtual control, and the first obtainingcode may further cause at least one of the at least one processor toobtain the at least one of the steering angle or the virtual throttleopening of the virtual vehicle according to a position of the thirdoperation.

The program code may further include: second obtaining code configuredto cause at least one of the at least one processor to obtain a movingspeed of the virtual vehicle; and adjusting code configured to cause atleast one of the at least one processor to adjust, based on the movingspeed of the virtual vehicle being greater than a moving speedthreshold, the scene picture to a picture of the virtual vehicle beingobserved in the virtual scene by using a camera model in a predeterminedviewing angle direction, the camera model being located at a positionwith respect to the virtual vehicle.

According to an aspect of an example embodiment, provided is a computerdevice, including at least one processor and at least one memory, the atleast one memory storing program code executable by the at least oneprocessor to cause the at least one processor to perform the foregoingmethod.

According to an aspect of an example embodiment, provided is anon-transitory computer-readable storage medium, storing program codeexecutable by at least one processor to cause the at least one processorto perform the foregoing method.

According to an aspect of an example embodiment, provided is anon-transitory computer-readable storage medium, storing program codeexecutable by at least one processor to cause the at least one processorto perform the foregoing method.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features, and advantages of certain exampleembodiments of the disclosure will be more apparent from the followingdescription taken in conjunction with the accompanying drawings. Theaccompanying drawings herein are incorporated into the specification andconstitute a part of this specification.

FIG. 1 is a schematic structural diagram of a terminal according to anexample embodiment of the disclosure.

FIG. 2 is a schematic view illustrating a display interface of a virtualscene according to an example embodiment of the disclosure.

FIG. 3 is a flowchart illustrating a virtual vehicle control process ina virtual scene according to an example embodiment of the disclosure.

FIG. 4 is a flowchart illustrating a virtual vehicle control process ina virtual scene according to an example embodiment of the disclosure.

FIG. 5 is a schematic view illustrating a display interface of a virtualscene involved in the embodiment shown in FIG. 4 .

FIG. 6 is a flowchart illustrating a virtual vehicle control method in avirtual scene according to an example embodiment of the disclosure.

FIG. 7 is a schematic view illustrating a display interface involved inthe embodiment shown in FIG. 6 .

FIG. 8 is a schematic view illustrating another display interfaceinvolved in the embodiment shown in FIG. 6 .

FIG. 9 is a schematic view illustrating controlling a steering anglethrough a virtual control involved in the embodiment shown in FIG. 6 .

FIG. 10 is a schematic view illustrating controlling a virtual throttleopening through a virtual control involved in the embodiment shown inFIG. 6 .

FIG. 11 is a schematic view illustrating controlling a steering angleand a virtual throttle opening through a virtual control involved in theembodiment shown in FIG. 6 .

FIG. 12 is a partial schematic view illustrating a longitudinal attitudecontrol involved in the embodiment shown in FIG. 6 .

FIG. 13 is a schematic view illustrating virtual controls involved inthe embodiment shown in FIG. 6 .

FIG. 14 is a schematic view illustrating a camera model involved in theembodiment shown in FIG. 6 .

FIG. 15 and FIG. 16 are schematic views illustrating scene pictures withtwo different viewing angles involved in the embodiment shown in FIG. 6.

FIG. 17 is a flowchart illustrating a viewing angle adjustment processinvolved in the embodiment shown in FIG. 6 .

FIG. 18 is a schematic view illustrating a control mode selectioninterface involved in the embodiment shown in FIG. 6 .

FIG. 19 is a structural block diagram of a terminal according to anexample embodiment of the disclosure.

FIG. 20 is a structural block diagram of a terminal according to anexample embodiment of the disclosure.

FIG. 21 is a structural block diagram of a computer device according toan example embodiment of the disclosure.

DETAILED DESCRIPTION

Example embodiments are described in detail herein, and examples thereofare shown in the accompanying drawings. When the following descriptionsare made with reference to the accompanying drawings, unless indicatedotherwise, same numbers in different accompanying drawings represent thesame or similar elements. The implementations described in the followingexample embodiments do not represent all implementations that areconsistent with the disclosure. On the contrary, the implementations aremerely examples of methods that are described in detail in the appendedclaims and that are consistent with some aspects of the disclosure.

Throughout the disclosure, the expression such as “at least one of a, b,and c” or “at least one of a, b or c” indicates only a, only b, only c,both a and b, both a and c, both b and c, all of a, b, and c, or anycombinations or variations thereof.

Virtual scene: a virtual scene displayed (or provided) when anapplication program is run on a terminal. The virtual scene may be asimulated environment scene of a real world, or may be a semi-simulatedand/or semi-fictional three-dimensional environment scene, or may be anentirely fictional three-dimensional environment scene. The virtualscene may be any one of a two-dimensional virtual scene, a2.5-dimensional virtual scene, and a three-dimensional virtual scene.For illustrative purposes, description is made by using an example inwhich the virtual scene is a three-dimensional virtual scene in thefollowing embodiments, but the disclosure is not limited. Optionally,the virtual scene may be further used for a virtual scene battle betweenat least two virtual roles. Optionally, the virtual scene may be furtherused for a battle performed between at least two virtual roles by usingvirtual guns. Optionally, the virtual scene may be further used for abattle performed between at least two virtual roles by using virtualguns in a range of a target region, and the range of the target regionmay be continuously decreased as time goes by in the virtual scene.

Virtual object: a movable object in a virtual scene. The movable objectmay be at least one of a virtual character, a virtual animal, and avirtual vehicle. Optionally, when the virtual scene is athree-dimensional virtual scene, the virtual object is athree-dimensional model created based on a skeletal animationtechnology. Each virtual object has a shape, a volume and an orientationin the three-dimensional virtual scene, and occupies some space in thethree-dimensional virtual scene.

The virtual scene is typically generated by an application program on acomputer device such as a terminal and presented by hardware (forexample, a screen) in the terminal. The terminal may be a mobileterminal such as a smartphone, a tablet computer or an e-book reader.Alternatively, the terminal may be a personal computer device such as anotebook computer or a stationary computer.

FIG. 1 shows a schematic structural diagram of a terminal according toan example embodiment of the disclosure. As shown in FIG. 1 , theterminal includes a motherboard 110, an external output/input device120, a memory 130, an external interface 140, a touch system 150, and apower supply 160.

Processing elements such as a processor and a controller are integratedin the motherboard 110.

The external output/input device 120 may include a display component(for example, a display screen), a sound playing component (for example,a loudspeaker), a sound acquisition component (for example, amicrophone), and various types of buttons.

The memory 130 stores program code and data.

The external interface 140 may include an earphone interface, a charginginterface, and a data interface.

The touch system 150 may be integrated in the display component or thebuttons of the external output/input device 120, and the touch system150 is configured to detect a touch operation performed by a user on thedisplay component or the buttons.

The power supply 160 is configured to supply power to other componentsin the terminal.

In an embodiment of the disclosure, the processor in the motherboard 110may generate a virtual scene by executing or invoking the program codeand data stored in the memory, and present the generated virtual sceneby using the external output/input device 120. In a process ofpresenting the virtual scene, a touch operation performed when the userinteracts with the virtual scene may be detected by using the touchsystem 150.

The virtual scene may be a three-dimensional virtual scene, or thevirtual scene may be a two-dimensional virtual scene. Using an examplein which the virtual scene is a three-dimensional virtual scene, FIG. 2shows a schematic diagram of a display interface of a virtual sceneaccording to an example embodiment of the disclosure. As shown in FIG. 2, the display interface of the virtual scene includes a scene picture200, and the scene picture 200 includes a virtual vehicle 210, anenvironment picture 220 of the three-dimensional virtual scene, and avirtual object 240. The virtual vehicle 210 may be a virtual vehicle inwhich a current virtual object of a user corresponding to the terminalis located. For example, when the current virtual object of the usercorresponding to the terminal is a virtual character, the virtualvehicle 210 is a virtual vehicle taken by the virtual character.Alternatively, the virtual vehicle 210 may be a current virtual objectof a user corresponding to the terminal. The virtual object 240 may be avirtual object controlled by a user corresponding to another terminal.

In FIG. 2 , the virtual vehicle 210 and the virtual object 240 arethree-dimensional models in the three-dimensional virtual scene, and theenvironment picture 220 of the three-dimensional virtual scene displayedin the scene picture 200 includes objects observed from a viewing angleof the virtual vehicle 210. Exemplarily, as shown in FIG. 2 , thedisplayed environment picture 220 of the three-dimensional virtual sceneincludes the ground 224, the sky 225, the horizon 223, a hill 221, and afactory 222, which are observed from the viewing angle of the virtualvehicle 210.

The virtual vehicle 210 may move instantly under the control of theuser. For example, if a terminal screen supports a touch operation and avirtual control is included in the scene picture 200 of the virtualscene, when the user touches the virtual control, the virtual vehicle210 may move in the virtual scene.

In an embodiment of the disclosure, the virtual vehicle may performoperations such as viewing angle adjustment, movement, and attitudechange under the control of the terminal.

For example, FIG. 3 shows a flowchart of a virtual vehicle controlprocess in a virtual scene according to an example embodiment of thedisclosure. As shown in FIG. 3 , by running on a terminal (for example,the terminal shown in FIG. 1 ) an application program corresponding tothe virtual scene, the virtual vehicle in the virtual scene may becontrolled to perform viewing angle adjustment by performing thefollowing operations 31-33.

Operation 31: Present a display interface of an application program, thedisplay interface including a scene picture of a virtual scene, and thevirtual scene including a virtual vehicle.

The scene picture of the virtual scene is a picture of the virtual sceneor a virtual object in the virtual scene that is observed from a viewingangle direction.

Operation 32: Obtain a moving speed of the virtual vehicle.

Operation 33: Adjust, in a case that the moving speed of the virtualvehicle is greater than a moving speed threshold, the scene picture to apicture of the virtual vehicle being observed in a predetermined viewingangle direction, the predetermined viewing angle direction being aviewing angle direction in which the virtual vehicle in the virtualscene is observed by using a camera model, and the camera model beinglocated around the virtual vehicle, e.g., above a rear portion of thevirtual vehicle.

According to the solution shown in an embodiment of the disclosure, in acase that the moving speed of the virtual vehicle controlled by theterminal is greater than a preset threshold, the terminal mayautomatically adjust a viewing angle direction of the scene picture to adirection in which the virtual vehicle is observed from the above of therear portion of the virtual vehicle, to provide a function of adjustingthe viewing angle while controlling the virtual vehicle, therebyautomatically adjusting the viewing angle according to the moving speedof the virtual vehicle and expanding the operability of the virtualvehicle.

In another example, FIG. 4 shows a flowchart of a virtual vehiclecontrol process in a virtual scene according to an example embodiment ofthe disclosure. As shown in FIG. 4 , by running a terminal (for example,the terminal shown in FIG. 1 ) of an application program correspondingto the virtual scene, a movement of the virtual vehicle in the virtualscene may be controlled by performing the following operations 41, 42,44.

Operation 41: Present a display interface of an application program, thedisplay interface including a scene picture of a virtual scene and atleast one primary virtual control.

The at least one primary virtual control is overlaid on an upper layerof the scene picture.

In an embodiment of the disclosure, in addition to displaying the scenepicture of the virtual scene, a virtual control is furtheroverlay-displayed on the upper layer of the scene picture in the displayinterface of the application program, and the user may implement thecontrol of a virtual object in the virtual scene by performing anoperation on the virtual control.

Operation 42: Obtain, in response to detecting a specified operation onthe at least one primary virtual control, at least one of a steeringangle and a virtual throttle opening of a virtual vehicle in the scenepicture according to the specified operation.

The virtual throttle opening and a speed factor of the virtual vehicleare positively correlated, and the speed factor includes at least one ofan acceleration and a maximum moving speed.

In an embodiment of the disclosure, through the primary virtual controloverlaid on the upper layer of the scene picture, the user may not onlyimplement the control of the direction of the virtual vehicle, but alsoimplement the control of the virtual throttle opening of the virtualvehicle, thereby implementing the control of the acceleration and/or themaximum moving speed of the virtual vehicle.

Operation 44: Control the virtual vehicle to move according to theobtained at least one of steering angle and virtual throttle opening ofthe virtual vehicle.

The virtual throttle opening may be positively correlated with themaximum moving speed and the acceleration of the virtual vehicle. Thatis, a larger virtual throttle opening indicates a higher maximum movingspeed and a faster acceleration of the virtual vehicle.

FIG. 5 shows a schematic diagram of a display interface of a virtualscene involved in an embodiment of the disclosure. As shown in FIG. 5 ,the display interface 50 of the virtual scene includes a scene picture51 and at least one primary virtual control 52 (two virtual controls areshown in FIG. 5 ), and the scene picture 51 includes a virtual vehicle51 a. A user may control a moving direction and a virtual throttleopening of the virtual vehicle 51 a in the virtual scene by using theprimary virtual control 52.

According to the solution shown in an embodiment of the disclosure, thevirtual control is overlay-displayed on the upper layer of the scenepicture of the virtual scene, and the steering angle and the virtualthrottle opening of the virtual vehicle in the virtual scene aredetermined according to an operation of the user for the virtualcontrol, thereby implementing the control of both the direction and thespeed of the virtual vehicle and improving a control effect on thevirtual vehicle.

In another example, the display interface may further include alongitudinal attitude control overlaid on the upper layer of the scenepicture, and the longitudinal attitude control may control alongitudinal attitude of the virtual vehicle. For example, thelongitudinal attitude may include a longitudinal attitude correspondingto an ascent or a descent of the virtual vehicle.

FIG. 6 shows a method flowchart of a virtual vehicle control method in avirtual scene according to an example embodiment of the disclosure. Asshown in FIG. 6 , by running on a terminal (for example, the terminalshown in FIG. 1 ) an application program corresponding to the virtualscene, viewing angle adjustment, movement, and attitude change of thevirtual vehicle in the virtual scene may be controlled by performing thefollowing operations 601-604, 606.

Operation 601: Present a display interface of an application program,the display interface including a scene picture of a virtual scene andat least one primary virtual control.

The at least one primary virtual control is overlaid on an upper layerof the scene picture.

In the solution shown in an embodiment of the disclosure, the primaryvirtual control may include two parts of virtual controls, where onepart of virtual controls are used for controlling a steering angle ofthe virtual vehicle, and the other part of virtual controls are used forcontrolling a virtual throttle opening of the virtual vehicle.

For example, the at least one primary virtual control may include afirst virtual control and a second virtual control. The first virtualcontrol may be used for controlling the steering angle of the virtualvehicle, and the second virtual control may be used for controlling thevirtual throttle opening of the virtual vehicle.

To help the user to operate and observe the scene picture, in anembodiment of the disclosure, the first virtual control and the secondvirtual control may be respectively disposed on left and right sides ofthe virtual vehicle. For example, in an example implementation, thefirst virtual control may be disposed on the left side of the virtualvehicle, and the second virtual control may be disposed on the rightside of the virtual vehicle. Alternatively, in another exampleimplementation, the first virtual control may be disposed on the rightside of the virtual vehicle, and the second virtual control may bedisposed on the left side of the virtual vehicle. Positions of the firstvirtual control and the second virtual control in the display interfaceare not limited in the embodiments of the disclosure.

For example, FIG. 7 shows a schematic diagram of a display interfaceinvolved in an embodiment of the disclosure. As shown in FIG. 7 , adisplay interface 70 of the virtual scene includes a scene picture 71, avirtual control 72, and a virtual control 73, and a middle lower part ofthe scene picture 71 includes a virtual vehicle 74. The virtual control72 corresponds to the first virtual control and is used for controllinga steering angle of the virtual vehicle 74, and the virtual control 73corresponds to the second virtual control and is used for controlling avirtual throttle opening of the virtual vehicle 74. The user may touchthe virtual control 72 by using a left hand to control a direction ofthe virtual vehicle 74, and touch the virtual control 73 by using aright hand to control a virtual throttle of the virtual vehicle 74.

Alternatively, the primary virtual control may only include a singlevirtual control, and the virtual control is used for controlling boththe steering angle of the virtual vehicle and the virtual throttleopening of the virtual vehicle.

For example, the at least one primary virtual control may include athird virtual control. To help the user to operate and observe the scenepicture, in an embodiment of the disclosure, the third virtual controlmay be disposed on the left side or the right side of the virtualvehicle.

For example, FIG. 8 shows a schematic diagram of another displayinterface involved in an embodiment of the disclosure. As shown in FIG.8 , a display interface 80 of the virtual scene includes a scene picture81 and a virtual control 82, and a middle lower part of the scenepicture 81 includes a virtual vehicle 83. The virtual control 82corresponds to the third virtual control and is used for controlling asteering angle and a virtual throttle opening of the virtual vehicle 83.The user may touch the virtual control 82 by using the left hand tocontrol steering and a virtual throttle of the virtual vehicle 83. Whileexamples of a display interface of the virtual scene are describedabove, the number of the virtual control of the at least one primaryvirtual control for controlling the virtual vehicle and the location ofthe virtual control on the display interface are not limited to theseexamples.

Operation 602: Obtain, in response to detecting a specified operation onthe at least one primary virtual control, at least one of a steeringangle and a virtual throttle opening of a virtual vehicle in the scenepicture according to the specified operation.

In an embodiment of the disclosure, the specified operation may be atouch operation performed from a region in which the at least oneprimary virtual control is located. For example, the user may touch theregion in which the primary virtual control is located, and adjust adirection and a virtual throttle of the virtual vehicle through touchoperations (e.g., touch operation such as a slide, a drag, a flick,etc.), and touch information such as a touch position of the user mayindicate a direction and a size of the virtual throttle for adjustment.

Optionally, when the at least one primary virtual control includes thefirst virtual control and the second virtual control, the specifiedoperation may include a first operation performed from a region in whichthe first virtual control is located and a second operation performedfrom a region in which the second virtual control is located. Duringobtaining the steering angle and the virtual throttle opening of thevirtual vehicle in the scene picture according to the specifiedoperation, the terminal may obtain the steering angle of the virtualvehicle according to an operation position of the first operation, andobtain the virtual throttle opening of the virtual vehicle according toan operation position of the second operation.

In an example implementation, the terminal may obtain the steering angleof the virtual vehicle according to a directional angle of the operationposition of the first operation relative to a central position of thefirst virtual control, or obtain the steering angle of the virtualvehicle according to a transverse offset distance of the operationposition of the first operation relative to a central position of thefirst virtual control; and obtain the virtual throttle opening of thevirtual vehicle according to a directional angle of the operationposition of the second operation relative to a central position of thesecond virtual control, or obtain the virtual throttle opening of thevirtual vehicle according to a transverse offset distance of theoperation position of the second operation relative to a left vertex ora right vertex of the second virtual control.

For example, FIG. 9 shows a schematic diagram of controlling a steeringangle through a virtual control involved in an embodiment of thedisclosure. As shown in FIG. 9 , the first virtual control is a virtualsteering wheel, and the user may touch a region in which the virtualsteering wheel is located and slide left or right to adjust the steeringangle of the virtual vehicle, where the steering angle may berepresented by a wheel steering angle (may be a front wheel steeringangle, or a rear wheel steering angle, or a front wheel steering angleand a rear wheel steering angle) of the virtual vehicle. Specifically, adirection of an operation position of the touch operation (e.g., touchand slide) relative to a central point of the virtual steering wheel maybe represented by using an angle between a connecting line between theoperation position of the touch and slide operation and the centralpoint of the virtual steering wheel and an x axis or y axis in a planecoordinate system. For example, in FIG. 9 , a rectangular coordinatesystem is established by using the central point of the virtual steeringwheel as an origin, a transverse direction as an x-axis direction, and alongitudinal direction as a y-axis direction, and an angle α between theconnecting line (a dotted line in FIG. 9 ) between the operationposition of the touch and slide operation and the central point of thevirtual steering wheel and the y axis indicates a direction of theoperation position of the touch and slide operation relative to thecentral point of the virtual steering wheel. A larger absolute value ofthe angle α indicates a larger wheel steering angle of a correspondingvirtual vehicle, when the angle α is 0 degrees, the wheel steering angleis also 0 degrees, and when the angle α reaches −90 degrees or +90degrees, the wheel steering angle reaches a maximum steering angle tothe left or to the right. In addition, a position relationship betweenthe operation position of the touch and slide operation and the y axisindicates a direction of the wheel steering angle. Using an example inwhich when the operation position of the touch and slide operation is ona left side of they axis, the angle α is a negative angle, and when theoperation position of the touch and slide operation is on a right sideof the y axis, the angle is a positive angle, when the angle α is 0degrees, the wheel steering angle is also 0 degrees; when the operationposition of the touch and slide operation is on the left side of the yaxis, the direction of the wheel steering angle is leftward, and whenthe angle α is −90 degrees, the wheel steering angle reaches a maximumleftward steering angle; and when the operation position of the touchand slide operation is on the right side of the y axis, the direction ofthe wheel steering angle is rightward, and when the angle α is +90degrees, the wheel steering angle reaches a maximum rightward steeringangle.

Alternatively, in FIG. 9 , the terminal may obtain a transverse offsetdistance of the operation position of the touch and slide operationrelative to the central point of the virtual steering wheel, that is, alength of the connecting line, mapped to the x axis, between theoperation position of the touch and slide operation and the centralpoint of the virtual steering wheel. A larger transverse offset distanceindicates a larger wheel steering angle of the corresponding virtualvehicle. When the transverse offset distance is 0, the wheel steeringangle is also 0 degrees, and when the transverse offset distance reachesor exceeds a radius of the virtual steering wheel, the wheel steeringangle reaches the maximum steering angle. In addition, a positionrelationship between the operation position of the touch and slideoperation and the y axis indicates a direction of the wheel steeringangle. When the operation position of the touch and slide operation ison a left side of the y axis, the direction of the wheel steering angleis leftward, and when the operation position of the touch and slideoperation is on a right side of the y axis, the direction of the wheelsteering angle is rightward.

Further, to present an operation effect of the user more intuitively, inFIG. 9 , an icon of the virtual steering wheel also rotates according tothe angle α by using a straight line perpendicular to the virtualsteering wheel and running through the central point of the virtualsteering wheel as an axis. When the terminal detects that the touch andslide operation ends, the terminal may restore the angle α to 0 degreesin a preset duration. When the user touches and holds the virtualsteering wheel to slide left or right or obliquely, the user may controlthe virtual vehicle to turn leftward or rightward, and the virtualsteering wheel may rotate left or right. When the user slides obliquely,a transverse offset distance of the x axis is used as a steeringamplitude, when the user slides left or right to a maximum distance, thevirtual steering wheel correspondingly reaches a maximum steering angle,the wheel steering angle also rotates to a maximum steering angle, and asteering ratio is equal to a ratio of the rotation angle of the virtualsteering wheel to the wheel steering angle. After the user releases thevirtual steering wheel, the virtual steering wheel automatically alignssubstantially in real time or in X seconds, and X may be a value presetby a developer.

FIG. 10 shows a schematic diagram of controlling a virtual throttleopening through a virtual control involved in an embodiment of thedisclosure. As shown in FIG. 10 , the second virtual control is avirtual dashboard, and the user may touch a region in which the virtualdashboard is located and slide left or right to adjust the virtualthrottle opening of the virtual vehicle. Specifically, a direction of anoperation position of the touch and slide operation relative to acentral point of the virtual dashboard may be represented by using anangle between a connecting line between the operation position of thetouch and slide operation and the central point of the virtual dashboardand an x axis or y axis in a plane coordinate system. For example, inFIG. 10 , a rectangular coordinate system is established by using thecentral point of the virtual dashboard as an origin, a transversedirection as an x-axis direction, and a longitudinal direction as ay-axis direction, and an angle β between the connecting line (a dottedline in FIG. 10 ) between the operation position of the touch and slideoperation and the central point of the virtual dashboard and the x axisindicates a direction of the operation position of the touch and slideoperation relative to the central point of the virtual dashboard. Alarger absolute value of the angle β indicates a larger virtual throttleopening of a corresponding virtual vehicle, when the angle β is 0degrees, the virtual throttle opening is also 0, and when the angle βreaches 180 degrees, the virtual throttle opening reaches a maximumopening.

Alternatively, in FIG. 10 , the terminal may obtain a transverse offsetdistance of the operation position of the touch and slide operationrelative to a left vertex of the virtual dashboard, that is, a length ofthe connecting line, mapped to the x axis, between the operationposition of the touch and slide operation and the left vertex of thevirtual dashboard. A larger transverse offset distance indicates alarger virtual throttle opening of the corresponding virtual vehicle.When the transverse offset distance is 0, the virtual throttle openingis also 0, and when the transverse offset distance reaches or exceeds adiameter of the virtual dashboard, the virtual throttle opening reachesthe maximum opening.

Further, to present an operation effect of the user more intuitively, inFIG. 10 , a pointer of the virtual dashboard also rotates according tothe angle β or the transverse offset distance by using a straight lineperpendicular to the virtual dashboard and running through the centralpoint of the virtual dashboard as an axis. When the terminal detectsthat the touch and slide operation ends, the terminal may point thepointer to the leftmost or the rightmost in a preset duration. In termsof user operations, when the user touches and holds the virtualdashboard to slide left or right or obliquely, the user may control aspeed and an acceleration of the virtual vehicle, and the pointer in thevirtual dashboard may rotate along with the slide position of the user.After the user releases the virtual dashboard, the pointer automaticallyresets substantially in real time or in Y seconds, and Y may be a valuepreset by a developer.

Optionally, when the at least one primary virtual control includes asingle third virtual control, the specified operation may include athird operation performed from a region in which the third virtualcontrol is located, and the terminal may obtain the steering angle andthe virtual throttle opening of the virtual vehicle according to anoperation position of the third operation.

In an example implementation, the terminal may obtain the steering angleof the virtual vehicle according to a directional angle of the operationposition of the third operation relative to a central position of thethird virtual control, or obtain the steering angle of the virtualvehicle according to a transverse offset distance of the operationposition of the third operation relative to a central position of thethird virtual control; and obtain the virtual throttle opening of thevirtual vehicle according to a distance of the operation position of thethird operation relative to the central position of the third virtualcontrol.

For example, FIG. 11 shows a schematic diagram of controlling a steeringangle and a virtual throttle opening through a virtual control involvedin an embodiment of the disclosure. As shown in FIG. 11 , the thirdvirtual control is a virtual steering wheel, and the user may touch aregion in which the virtual steering wheel is located and slide left orright to adjust the steering angle of the virtual vehicle. For adetailed adjustment process, reference may be made to the correspondingdescription in FIG. 9 , and details are not repeated herein.

In addition, in FIG. 11 , the terminal may determine the virtualthrottle opening according to a distance between a position of the touchand slide operation of the user and a central point of the virtualsteering wheel. When the straight-line distance is 0, the virtualthrottle opening is 0, and when the straight-line distance reaches orexceeds a radius of the virtual steering wheel, the virtual throttleopening reaches a maximum opening. For example, as shown in the part(a), the part (b), and the part (c) in FIG. 11 , the terminal determinesthe steering angle according to a transverse offset distance a betweenthe position of the touch and slide operation and the central point ofthe virtual steering wheel, and determines the virtual throttle openingaccording to a straight-line distance b between the position of thetouch and slide operation and the central point of the virtual steeringwheel. When the position of the touch and slide operation coincides witha right vertex of the virtual steering wheel, or rightward exceeds aright vertex of the virtual steering wheel, the steering angle and thevirtual throttle opening of the virtual vehicle both reach a maximumvalue.

In addition, when the at least one primary virtual control includes asingle third virtual control, if the position of the touch and slideoperation is located in an upper half part of the virtual steeringwheel, the terminal may determine that the virtual vehicle is movingforward, and if the position of the touch and slide operation is locatedin a lower half part of the virtual steering wheel, the terminal maydetermine that the virtual vehicle is moving backward. Specifically, inFIG. 11 , a rectangular coordinate system is established by using thecentral point of the virtual steering wheel as an origin, a transversedirection as an x-axis direction, and a longitudinal direction as ay-axis direction. A radial distance by which the center of the virtualsteering wheel is dragged by a user operation away from a circle centerdetermines the virtual throttle opening, and an offset distance, on an xaxis, of the center of the virtual steering wheel dragged by a useroperation determines a steering amplitude, where the fourth quadrant andthe first quadrant in the coordinate system are forward gear regions,and the second quadrant and the third quadrant are reverse gear regions.After the user releases the virtual steering wheel, the virtual steeringwheel automatically aligns substantially in real time or in Z seconds,and Z may be a value preset by a developer.

Operation 603: Obtain a moving direction of the virtual vehicleaccording to the steering angle of the virtual vehicle, and obtain anacceleration and a maximum moving speed of the virtual vehicle accordingto the virtual throttle opening of the virtual vehicle.

In an embodiment of the disclosure, the terminal may calculate a movingdirection in which the virtual vehicle is to be moved according to acurrent direction and a rotation angle of the virtual vehicle. At thesame time, the terminal further determines a maximum moving speed of thevirtual vehicle according to the virtual throttle opening of the virtualvehicle, and determines an acceleration to be applied to the virtualvehicle according to a current speed, the maximum moving speed, and thevirtual throttle opening of the virtual vehicle.

Operation 604: Control the virtual vehicle to move according to themoving direction, the acceleration, and the maximum moving speed of thevirtual vehicle.

For example, the terminal may control the virtual vehicle to moveaccording to the determined moving direction and the acceleration untilthe virtual vehicle reaches the maximum moving speed.

Optionally, to further extend a control manner of the user for thevirtual vehicle, in an embodiment of the disclosure, the displayinterface further includes an auxiliary virtual control, and theauxiliary virtual control includes at least one of a longitudinalattitude control, a sudden acceleration control, a brake control, and areverse control that are overlaid on an upper layer of the scenepicture.

The longitudinal attitude control may be used for controlling alongitudinal attitude of the virtual vehicle. For example, FIG. 12 showsa partial schematic view illustrating a longitudinal attitude controlinvolved in an embodiment of the disclosure. Using an example in whichthe virtual vehicle is a virtual motorcycle, as shown in FIG. 12 , anoperation region 122 of a display interface includes a primary virtualcontrol 124 and two longitudinal attitude controls (the two controls arerespectively a virtual control 126 and a virtual control 128), where thevirtual control 126 is used for controlling the virtual motorcycle toascend, and the virtual control 128 is used for controlling the virtualmotorcycle to descend. According to the foregoing solution, two high-endoperation modes of the ascent and the descent for the virtual vehicle(for example, a virtual motorcycle) are provided in the virtual scene inthe disclosure, and the user may perform the vehicle ascent and/ordescent operations when passing through a steep terrain to reduce aprobability of a virtual vehicle turnover, thereby improving useexperience of the virtual scene.

In addition, FIG. 13 shows a schematic view illustrating virtualcontrols involved in an embodiment of the disclosure. As shown in FIG.13 , a display interface 130 includes a scene picture 131, a virtualcontrol 132, and a virtual control 133, and a middle lower part of thescene picture 131 includes a virtual vehicle 134. The virtual control132 is used for controlling a steering angle of the virtual vehicle 134,and the virtual control 133 is used for controlling a virtual throttleopening of the virtual vehicle 134. Other auxiliary virtual controlssuch as a sudden acceleration control 135, a brake control 136, and areverse control 137 are further displayed around the virtual control133.

The sudden acceleration control 135 may be used for controlling thevirtual vehicle to suddenly accelerate to move. In an embodiment of thedisclosure, when the terminal detects that the sudden accelerationcontrol is triggered, the terminal may control the virtual vehicle toaccelerate according to a maximum acceleration in a sudden accelerationmode to a maximum moving speed in the sudden acceleration mode. Themaximum acceleration in the sudden acceleration mode may be greater thanor equal to an acceleration at a maximum virtual throttle opening, orthe maximum moving speed in the sudden acceleration mode may be greaterthan or equal to a maximum moving speed at the maximum virtual throttleopening.

The brake control 136 is used for controlling the virtual vehicle tobrake. When the terminal detects that the brake control is triggered,the terminal may control the virtual vehicle to perform emergencybraking by using a maximum brake deceleration.

The reverse control 137 is used for controlling the virtual vehicle toreverse.

Operation 606: Obtain a moving speed of the virtual vehicle, and adjust,in a case that the moving speed of the virtual vehicle is greater than amoving speed threshold, the scene picture to a picture of the virtualvehicle being observed in a predetermined viewing angle direction.

The predetermined viewing angle direction is a viewing angle directionin which the virtual vehicle in the virtual scene is observed by using acamera model, and the camera model is located above a rear portion ofthe virtual vehicle.

The scene picture in the display interface may be a picture of a virtualobject (for example, a virtual character or a virtual vehicle) that isbeing observed in the virtual scene by using one viewing angle directionin the virtual scene, and the viewing angle direction is a viewing angledirection in which the virtual object in the virtual scene is observedby using a camera model.

The camera model is a three-dimensional model located around the virtualobject in the virtual scene. When a first-person viewing angle is used,the camera model is located at an observation position of the virtualobject. For example, when the virtual object is a virtual vehicle, thecamera model is located near or in a cockpit of the virtual vehicle, andwhen the virtual object is a virtual character, the camera model islocated near or at the head of the virtual character. When athird-person viewing angle is used, the camera model may be locatedbehind the virtual object and bound to the virtual object, or may belocated at any position away from the virtual object by a presetdistance. The virtual object located in the virtual scene may beobserved from different angles through the camera model. Optionally,when the third-person viewing angle is a first-person over-shoulderviewing angle, the camera model is located above a rear portion of thevirtual object (for example, a virtual vehicle). Optionally, the cameramodel is not displayed in the virtual scene, that is, the camera modelmay not be recognized in the virtual scene displayed in the userinterface.

Description is made by using an example in which the camera model islocated at any position away from the virtual object by a presetdistance. Optionally, one virtual object corresponds to one cameramodel, and the camera model may rotate around the virtual object as acenter of rotation (a rotation center), for example, the camera model isrotated with respect to any point of the virtual object as the rotationcenter. During rotation, the camera model is not only rotated, but alsodisplaced. During rotation, a distance between the camera model and therotation center may remain unchanged, that is, the camera model may berotated on a surface of a sphere with respect to the rotation center asa sphere center. Any point of the virtual object may be any point of thevirtual object or around the virtual object, for example, the any pointof the virtual object may be a cockpit, a passenger seat, a back seat, acenter of the virtual vehicle, or any point around the virtual object,or the any point of the virtual object may be the head or the torso ofthe virtual object, or any point around the virtual object. The point ofthe rotation center is not limited in the embodiments of the disclosure.Optionally, when the camera model observes the virtual object, theviewing angle direction of the camera model is a direction in which avertical line on a tangent plane of a spherical surface on which thecamera model is located points to the virtual object.

Optionally, the camera model may alternatively observe the virtualobject at a preset angle in different directions of the virtual object.

For example, FIG. 14 shows a schematic diagram of a camera modelinvolved in an embodiment of the disclosure. A point in a virtual object141 is determined as a rotation center 142, and the camera model rotatesaround the rotation center 142. Optionally, the camera model isconfigured with an initial position, and the initial position is aposition above a rear portion of the virtual object (for example, a rearposition of the brain). For example, as shown in FIG. 14 , the initialposition is a position 143, and when the camera model rotates to aposition 144 or a position 145, a viewing angle direction of the cameramodel changes as the camera model rotates.

In FIG. 14 , description is made by using an example in which thevirtual object is a virtual character. In an embodiment of thedisclosure, the virtual object 141 may alternatively be a virtualvehicle in a virtual scene, or the virtual object may be a virtualobject in any other form and controlled by the user, such as a virtualanimal.

In an embodiment of the disclosure, a follow camera mode may beprovided. For example, FIG. 15 and FIG. 16 show schematic viewsillustrating two scene pictures with different viewing angles involvedin an embodiment of the disclosure. In FIG. 15 , the camera model islocated on a left side of the virtual vehicle, and the terminal displaysthe scene picture by using a viewing angle at which the virtual vehicleis observed from the left side of the virtual vehicle. In FIG. 16 , thecamera model is located above a rear position of the virtual vehicle,and the terminal displays the scene picture by using a viewing angle atwhich the virtual vehicle is observed from the above and behind of thevirtual vehicle. In the follow camera mode, when the moving speed of thevirtual vehicle reaches a specific speed threshold (for example, 20kilometers per hour), for example, when the user taps acceleration, aviewing angle of the scene picture automatically changes to the rear(changes from FIG. 15 to FIG. 16 ), to help the user to focus on theroad conditions ahead in the virtual scene in time at an emergencymoment (acceleration).

In another example implementation, the disclosure further provides afree camera mode. In the free camera mode, when the moving speed of thevirtual vehicle changes, the terminal may maintain a position of thecamera model relative to the virtual vehicle unchanged, to help the userto observe conditions on the side of or behind the virtual vehicle.

Optionally, in an embodiment of the disclosure, when a duration of themoving speed of the virtual vehicle being greater than a moving speedthreshold is greater than a preset duration threshold, the terminal mayadjust the scene picture to a picture of the virtual vehicle beingobserved in a predetermined viewing angle direction.

For example, FIG. 17 shows a schematic flowchart of a viewing angleadjustment process involved in an embodiment of the disclosure. As shownin FIG. 17 , the user controls a virtual vehicle through a terminal(S1701), and the terminal obtains a moving speed of the virtual vehicle(S1702), to determine whether the moving speed is greater than or equalto a threshold speed (e.g., 20 kilometer/hour). If the moving speed isless than 20 km/h, return to S1702, and if the moving speed is greaterthan or equal to 20 km/h, continue to determine whether a duration ofthe moving speed being greater than or equal to 20 km/h reaches 2seconds. If the duration of the moving speed being greater than or equalto 20 km/h does not reach 2 seconds, return to S1702, and if theduration of the moving speed being greater than or equal to 20 reaches 2seconds, determine whether a current viewing angle is a driving viewingangle, where in the driving viewing angle, the scene picture is apicture of the virtual vehicle being observed in a predetermined viewingangle direction. If the current viewing angle is the driving viewingangle, return to S1702; otherwise continue to determine whether acurrent mode is a follow camera mode, and if yes, adjust the currentviewing angle to the driving viewing angle (S1707); otherwise maintainthe current viewing angle unchanged (S1708).

Optionally, the user may further freely switch the viewing angle duringacceleration. For example, the user may switch the current viewing angleto the driving viewing angle or a non-driving viewing angle by slidingin the display interface of the virtual scene.

Optionally, in an embodiment of the disclosure, in addition to theforegoing mode of controlling the steering angle and the virtualthrottle opening of the virtual vehicle through a plurality of virtualcontrols and the mode of controlling the steering angle and the virtualthrottle opening of the virtual vehicle through one single virtualcontrol, the disclosure may further provide other control modes, forexample, a mode in which the user taps buttons by using the left andright hands to control the movement and direction of the vehicle, a modein which the user touches by using the left hand to directly control thevirtual vehicle to rotate to various different directions, and a mode inwhich the user controls the virtual vehicle to swing left or right byusing the left or right joystick, and controls the virtual vehicle tomove forward or backward by using a left or right slider. The terminalmay provide a control mode selection interface for the user to selectone control mode from a plurality of control modes.

For example, FIG. 18 shows a schematic diagram of a control modeselection interface involved in an embodiment of the disclosure. In FIG.18 , a control mode selection interface 1801 includes three modeoptions, which are respectively a double-joystick control mode option1801 a corresponding to controlling the steering angle and the virtualthrottle opening through two virtual controls, a single-joystick controlmode option 1801 b corresponding to controlling the steering angle andthe virtual throttle opening through one single virtual control, and abutton control mode option 1801 c corresponding to controlling thesteering angle and an advancing direction through upper, lower, left andright virtual buttons, and the user may perform an operation for theselection of the three options to enable one control mode.

In an embodiment of the disclosure, the virtual control isoverlay-displayed on the upper layer of the scene picture of the virtualscene, and the steering angle and the virtual throttle opening of thevirtual vehicle in the virtual scene are determined according to anoperation of the user on the virtual control, thereby implementing thecontrol of both the direction and the speed of the virtual vehicle,improving a control effect on the virtual vehicle, and providing moreoptions and operation space for the control operations of the virtualvehicle.

In addition, according to the solution shown in an embodiment of thedisclosure, at least one auxiliary virtual control of a longitudinalattitude control, a sudden acceleration control, a brake control, and areverse control is further provided, to further expand the operabilityof the virtual vehicle.

In addition, according to the solution shown in an embodiment of thedisclosure, a function of adjusting the viewing angle while controllingthe virtual vehicle is provided, thereby automatically adjusting theviewing angle according to the moving speed of the virtual vehicle andfurther expanding the operability of the virtual vehicle.

FIG. 19 is a structural block diagram of a terminal according to anexample embodiment. The terminal may perform all or some operationsperformed by a terminal in the method shown in the embodimentcorresponding to FIG. 4 or FIG. 6 . The terminal may include:

an interface presenting module 1901, configured to present a displayinterface of an application program, the display interface including ascene picture of a virtual scene and at least one primary virtualcontrol, and the at least one primary virtual control being overlaid onan upper layer of the scene picture;

a first obtaining module 1902, configured to obtain, in response todetecting a specified operation on the at least one primary virtualcontrol, at least one of a steering angle and a virtual throttle openingof a virtual vehicle in the scene picture according to the specifiedoperation, the virtual throttle opening and a speed factor of thevirtual vehicle being positively correlated, and the speed factorincluding at least one of an acceleration and a maximum moving speed;and

a control module 1903, configured to control the virtual vehicle to moveaccording to the obtained steering angle and virtual throttle opening ofthe virtual vehicle.

Optionally, the control module 1903 is configured to:

obtain a moving direction of the virtual vehicle according to thesteering angle of the virtual vehicle;

obtain an acceleration and a maximum moving speed of the virtual vehicleaccording to the virtual throttle opening of the virtual vehicle; andcontrol the virtual vehicle to move according to the moving direction,the acceleration, and the maximum moving speed of the virtual vehicle.

Optionally, the at least one primary virtual control includes a firstvirtual control and a second virtual control, and the specifiedoperation includes a first operation performed from a region in whichthe first virtual control is located and a second operation performedfrom a region in which the second virtual control is located; and

the first obtaining module 1902 is configured to:

obtain the steering angle of the virtual vehicle according to anoperation position of the first operation; and

obtain the virtual throttle opening of the virtual vehicle according toan operation position of the second operation.

Optionally, in the case of obtaining the steering angle of the virtualvehicle according to an operation position of the first operation, thefirst obtaining module 1902 is configured to:

obtain the steering angle of the virtual vehicle according to adirectional angle of the operation position of the first operationrelative to a central position of the first virtual control; or obtainthe steering angle of the virtual vehicle according to a transverseoffset distance of the operation position of the first operationrelative to a central position of the first virtual control; and

in the case of obtaining the virtual throttle opening of the virtualvehicle according to an operation position of the second operation, thefirst obtaining module 1902 is configured to:

obtain the virtual throttle opening of the virtual vehicle according toa directional angle of the operation position of the second operationrelative to a central position of the second virtual control; or obtainthe virtual throttle opening of the virtual vehicle according to atransverse offset distance of the operation position of the secondoperation relative to a left vertex or a right vertex of the secondvirtual control.

Optionally, the at least one primary virtual control includes a thirdvirtual control, and the specified operation includes a third operationperformed from a region in which the third virtual control is located;and

the first obtaining module 1902 is configured to obtain the steeringangle and the virtual throttle opening of the virtual vehicle accordingto an operation position of the third operation.

Optionally, the first obtaining module 1902 is configured to:

obtain the steering angle of the virtual vehicle according to adirectional angle of the operation position of the third operationrelative to a central position of the third virtual control; or obtainthe steering angle of the virtual vehicle according to a transverseoffset distance of the operation position of the third operationrelative to a central position of the third virtual control; and

obtain the virtual throttle opening of the virtual vehicle according toa straight-line distance of the operation position of the thirdoperation relative to the central position of the third virtual control.

Optionally, the display interface further includes an auxiliary virtualcontrol, and the auxiliary virtual control includes at least one of alongitudinal attitude control, a sudden acceleration control, a brakecontrol, and a reverse control that are overlaid on the upper layer ofthe scene picture, where

the longitudinal attitude control is used for controlling a longitudinalattitude of the virtual vehicle;

the sudden acceleration control is used for controlling the virtualvehicle to suddenly accelerate to move;

the brake control is used for controlling the virtual vehicle to brake;and

the reverse control is used for controlling the virtual vehicle toreverse.

Optionally, the terminal further includes:

a second obtaining module 1904, configured to obtain a moving speed ofthe virtual vehicle; and

an adjustment module 1905, configured to adjust, in a case that themoving speed of the virtual vehicle is greater than a moving speedthreshold, the scene picture to a picture of the virtual vehicle beingobserved in a predetermined viewing angle direction, the predeterminedviewing angle direction being a viewing angle direction in which thevirtual vehicle is observed in the virtual scene by using a cameramodel, and the camera model being located above a rear portion of thevirtual vehicle.

FIG. 20 is a structural block diagram of a terminal according to anexample embodiment. The terminal may perform all or some operationsperformed by a terminal in the method shown in the embodimentcorresponding to FIG. 3 or FIG. 6 . The terminal may include:

an interface presenting module 2001, configured to present a displayinterface of an application program, the display interface including ascene picture of a virtual scene, and the virtual scene including avirtual vehicle;

a second obtaining module 2002, configured to obtain a moving speed ofthe virtual vehicle; and

an adjustment module 2003, configured to adjust, in a case that themoving speed of the virtual vehicle is greater than a moving speedthreshold, the scene picture to a picture of the virtual vehicle beingobserved in a predetermined viewing angle direction, the predeterminedviewing angle direction being a viewing angle direction in which thevirtual vehicle is observed in the virtual scene by using a cameramodel, and the camera model being located above a rear portion of thevirtual vehicle.

Optionally, the display interface further includes at least one primaryvirtual control, the at least one primary virtual control is overlaid onan upper layer of the scene picture, and the terminal further includes:

a first obtaining module, configured to obtain, in response to detectinga specified operation on the at least one primary virtual control, asteering angle and a virtual throttle opening of the virtual vehicleaccording to the specified operation, the virtual throttle opening and aspeed factor of the virtual vehicle being positively correlated, and thespeed factor including at least one of an acceleration and a maximummoving speed; and

a control module 2003, configured to control the virtual vehicle to moveaccording to the obtained steering angle and virtual throttle opening ofthe virtual vehicle.

Optionally, the display interface further includes an auxiliary virtualcontrol, and the auxiliary virtual control includes at least one of alongitudinal attitude control, a sudden acceleration control, a brakecontrol, and a reverse control that are overlaid on the upper layer ofthe scene picture, where

the longitudinal attitude control is used for controlling a longitudinalattitude of the virtual vehicle;

the sudden acceleration control is used for controlling the virtualvehicle to suddenly accelerate to move;

the brake control is used for controlling the virtual vehicle to brake;and

the reverse control is used for controlling the virtual vehicle toreverse.

FIG. 21 is a structural block diagram of a computer device 2100according to an example embodiment. The computer device 2100 may be auser terminal, such as a smartphone, a tablet computer, a moving pictureexperts group audio layer III (MP3) player, a moving picture expertsgroup audio layer IV (MP4) player, a notebook computer, or a desktopcomputer. The computer device 2100 may also be referred to as anothername such as user equipment, a portable terminal, a laptop terminal, ora desktop terminal.

Generally, the computer device 2100 includes a processor 2101 and amemory 2102.

The processor 2101 may include one or more processing cores, forexample, may be a 4-core processor or an 8-core processor. The processor2101 may be implemented by using at least one hardware form of digitalsignal processing (DSP), a field-programmable gate array (FPGA), and aprogrammable logic array (PLA). The processor 2101 may alternativelyinclude a main processor and a coprocessor. The main processor is aprocessor configured to process data in an awake state, also referred toas a central processing unit (CPU), and the coprocessor is a low-powerprocessor configured to process data in a standby state. In someembodiments, the processor 2101 may be integrated with a graphicsprocessing unit (GPU). The GPU is configured to be responsible forrendering and drawing content to be displayed by a display screen. Insome embodiments, the processor 2101 may further include an artificialintelligence (AI) processor. The AI processor is configured to process acalculation operation related to machine learning.

The memory 2102 may include one or more computer-readable storage media.The computer-readable storage medium may be non-transient. The memory2102 may further include a high-speed random access memory and anon-volatile memory such as one or more magnetic disk storage devicesand a flash storage device. In some embodiments, the non-transientcomputer-readable storage medium in the memory 2102 is configured tostore at least one instruction. The at least one instruction is executedby the processor 2101 to perform the virtual vehicle control method in avirtual scene provided in the method embodiment in the disclosure.

In some embodiments, the computer device 2100 further optionallyincludes a peripheral device interface 2103 and at least one peripheraldevice. The processor 2101, the memory 2102, and the peripheral deviceinterface 2103 may be connected through a bus or a signal cable. Eachperipheral device may be connected to the peripheral device interface2103 through a bus, a signal cable, or a circuit board. Specifically,the peripheral device includes: at least one of a radio frequency (RF)circuit 2104, a touch display screen 2105, a camera component 2106, anaudio circuit 2107, a positioning component 2108, and a power supply2109.

The peripheral device interface 2103 may be configured to connect atleast one peripheral device related to input/output (I/O) to theprocessor 2101 and the memory 2102. In some embodiments, the processor2101, the memory 2102, and the peripheral device interface 2103 areintegrated into the same chip or circuit board. In some otherembodiments, any one or two of the processor 2101, the memory 2102, andthe peripheral device interface 2103 may be implemented on anindependent chip or circuit board, and the implementation is not limitedin an embodiment.

The RF circuit 2104 is configured to receive and transmit an RF signal,also referred to as an electromagnetic signal. The RF circuit 2104communicates with a communications network and another communicationdevice by using the electromagnetic signal. The RF circuit 2104 convertsan electrical signal into an electromagnetic signal for transmission, orconverts a received electromagnetic signal into an electrical signal.Optionally, the RF circuit 2104 includes an antenna system, an RFtransceiver, one or more amplifiers, a tuner, an oscillator, a digitalsignal processor, a codec chip set, a subscriber identity module card,and the like. The RF circuit 2104 may communicate with another terminalby using a wireless communication protocol. The wireless communicationprotocol includes, but is not limited to: a world wide web, ametropolitan area network, an intranet, generations of mobilecommunication networks (e.g., 2G, 3G, 4G, and 5G), a wireless local areanetwork and/or a wireless fidelity (Wi-Fi) network. In some embodiments,the RF circuit 2104 may also include a circuit related to near fieldcommunication (NFC). Examples of the wireless communication protocol arenot limited in the disclosure.

The display screen 2105 is configured to display a user interface (UI).The UI may include a graph, a text, an icon, a video, and anycombination thereof. When the display screen 2105 is a touch displayscreen, the display screen 2105 is further capable of acquiring a touchsignal on or above a surface of the display screen 2105. The touchsignal may be inputted to the processor 2101 for processing as a controlsignal. In this case, the display screen 2105 may be further configuredto provide a virtual button and/or a virtual keyboard, which is alsoreferred to as a soft button and/or a soft keyboard. In someembodiments, there is one display screen 2105, disposed on a front panelof the computer device 2100. In some other embodiments, there may be atleast two display screens 2105, respectively disposed on differentsurfaces of the computer device 2100 or designed in a foldable shape. Instill some other embodiments, the display screen 2105 may be a flexibledisplay screen, disposed on a curved surface or a folded surface of thecomputer device 2100. In an embodiment, the display screen 2105 may befurther set in a non-rectangular irregular pattern, namely, aspecial-shaped screen. The display screen 2105 may be prepared by usingmaterials such as a liquid crystal display (LCD), an organiclight-emitting diode (OLED), or the like.

The camera component 2106 is configured to acquire a picture or a video.Optionally, the camera component 2106 includes a front-facing camera anda rear-facing camera. Generally, the front-facing camera is disposed ona front panel of the terminal, and the rear-facing camera is disposed ona back surface of the terminal. In some embodiments, there are at leasttwo rear-facing cameras, each being any one of a main camera, a depth offield camera, a wide-angle camera, and a telephoto camera, to implementa Bokeh function through fusion of the main camera and the depth offield camera, panoramic photo shooting and virtual reality (VR) shootingfunctions through fusion of the main camera and wide-angle camera, oranother fusion shooting function. In some embodiments, the cameracomponent 2106 may further include a flash. The flash may be a singlecolor temperature flash, or may be a double color temperature flash. Thedouble color temperature flash refers to a combination of a warm flashand a cold flash, and may be configured to perform light raycompensation at different color temperatures.

The audio circuit 2107 may include a microphone and a loudspeaker. Themicrophone is configured to: acquire sound waves of a user and anenvironment, and convert the sound waves into electrical signals andinput the electrical signals into the processor 2101 for processing, orinput the electrical signals into the RF circuit 2104 to implementspeech communication. For the purpose of stereo sound collection ornoise reduction, there may be a plurality of microphones, respectivelydisposed at different parts of the computer device 2100. The microphonemay be further an array microphone or an omnidirectional collectionmicrophone. The loudspeaker is configured to convert electrical signalsfrom the processor 2101 or the RF circuit 2104 into sound waves. Theloudspeaker may be a conventional thin-film loudspeaker or apiezoelectric ceramic loudspeaker. When the loudspeaker is thepiezoelectric ceramic loudspeaker, electric signals not only can beconverted into sound waves that can be heard by human, but also can beconverted into sound waves that cannot be heard by human for ranging andthe like. In some embodiments, the audio circuit 2107 may furtherinclude an earphone jack.

The positioning component 2108 is configured to position a currentgeographic location of the computer device 2100, to implement navigationor a location based service (LBS). The positioning component 2108 may bea positioning component based on the Global Positioning System (GPS) ofthe United States, the BeiDou Navigation Satellite System (BDS) ofChina, the GLONASS System of Russia, or the GALILEO System of theEuropean Union.

The power supply 2109 is configured to supply power to components in thecomputer device 2100. The power supply 2109 may be an alternatingcurrent, a direct current, a disposable battery, or a rechargeablebattery. When the power supply 2109 includes the rechargeable battery,the rechargeable battery may be a wired rechargeable battery or awireless rechargeable battery. The wired rechargeable battery is abattery charged through a wired circuit, and the wireless rechargeablebattery is a battery charged through a wireless coil. The rechargeablebattery may further be configured to support a quick charge technology.

In some embodiments, the computer device 2100 further includes one ormore sensors 2110. The one or more sensors 2110 include, but are notlimited to: an acceleration sensor 2111, a gyroscope sensor 2112, apressure sensor 2113, a fingerprint sensor 2114, an optical sensor 2115,and a proximity sensor 2116.

The acceleration sensor 2111 may detect accelerations on threecoordinate axes of a coordinate system established by the computerdevice 2100. For example, the acceleration sensor 2111 may be configuredto detect components of gravity acceleration on the three coordinateaxes. The processor 2101 may control, according to a gravityacceleration signal collected by the acceleration sensor 2111, the touchdisplay screen 2105 to display the user interface in a frame view or aportrait view. The acceleration sensor 2111 may be further configured tocollect game or user motion data.

The gyroscope sensor 2112 may detect a body direction and a rotationangle of the computer device 2100. The gyroscope sensor 2112 maycooperate with the acceleration sensor 2111 to collect a 3D action bythe user on the computer device 2100. The processor 2101 may implementthe following functions according to the data collected by the gyroscopesensor 2112: motion sensing (such as changing the UI according to a tiltoperation of the user), picture stabilization during shooting, gamecontrol, and inertial navigation.

The pressure sensor 2113 may be disposed on a side frame of the computerdevice 2100 and/or a lower layer of the touch display screen 2105. Whenthe pressure sensor 2113 is disposed on the side frame of the computerdevice 2100, a holding signal of the user on the computer device 2100may be detected. The processor 2101 performs left and right handrecognition or a quick operation according to the holding signalcollected by the pressure sensor 2113. When the pressure sensor 2113 isdisposed on the lower layer of the touch display screen 2105, theprocessor 2101 controls an operable control on the UI interfaceaccording to a pressure operation of the user on the touch displayscreen 2105. The operable control includes at least one of a buttoncontrol, a scroll bar control, an icon control and a menu control.

The fingerprint sensor 2114 is configured to collect a fingerprint ofthe user. The processor 2101 identifies an identity of the useraccording to the fingerprint collected by the fingerprint sensor 2114,or the fingerprint sensor 2114 identifies an identity of the useraccording to the collected fingerprint. When the identity of the user isidentified as a trusted identity, the processor 2101 authorizes the userto perform a related sensitive operation. The sensitive operationincludes unlocking a screen, viewing encryption information, downloadingsoftware, payment, changing settings, and the like. The fingerprintsensor 2114 may be disposed on a front face, a back face, or a side faceof the computer device 2100. When a physical button or a vendor logo isdisposed on the computer device 2100, the fingerprint sensor 2114 may beintegrated together with the physical button or the vendor logo.

The optical sensor 2115 is configured to collect ambient lightintensity. In an embodiment, the processor 2101 may control the displaybrightness of the touch display screen 2105 according to the ambientlight intensity collected by the optical sensor 2115. Specifically, whenthe ambient light intensity is relatively high, the display brightnessof the touch display screen 2105 is turned up. When the ambient lightintensity is relatively low, the display brightness of the touch displayscreen 2105 is turned down. In another embodiment, the processor 2101may further dynamically adjust a camera parameter of the cameracomponent 2106 according to the ambient light intensity collected by theoptical sensor 2115.

The proximity sensor 2116, also referred to as a distance sensor, may bedisposed on the front panel of the computer device 2100. The proximitysensor 2116 is configured to collect a distance between a front face ofthe user and the front face of the computer device 2100. In anembodiment, when the proximity sensor 2116 detects that the distancebetween the front face of the user and the front face of the computerdevice 2100 is gradually decreased, the processor 2101 controls thetouch display screen 2105 to switch from a screen-on state to ascreen-off state. When the proximity sensor 2116 detects that thedistance between the front face of the user and the front face of thecomputer device 2100 is gradually increased, the processor 2101 controlsthe touch display screen 2105 to switch from the screen-off state to thescreen-on state.

A person skilled in the art would understand that a structure shown inFIG. 21 constitutes no limitation on the computer device 2100, and thecomputer device may include more or fewer components than those shown inthe figure, or some components may be combined, or a different componentdeployment may be used.

In an example embodiment, a non-temporary computer-readable storagemedium including an instruction is further provided. For example, thenon-temporary computer-readable storage medium includes at least oneinstruction, at least one program, a code set, or an instruction set.The at least one instruction, the at least one program, the code set, orthe instruction set may be executed by a processor to implement all orsome operations of the method shown according to the correspondingembodiment in FIG. 3 , FIG. 4 , or FIG. 6 . For example, thenon-temporary computer-readable storage medium may be a ROM, a RAM, aCD-ROM, a magnetic tape, a floppy disk, or an optical data memorydevice.

At least one of the components, elements, modules or units describedherein may be embodied as various numbers of hardware, software and/orfirmware structures that execute respective functions described above,according to an example embodiment. For example, at least one of thesecomponents, elements or units may use a direct circuit structure, suchas a memory, a processor, a logic circuit, a look-up table, etc. thatmay execute the respective functions through controls of one or moremicroprocessors or other control apparatuses. Also, at least one ofthese components, elements or units may be specifically embodied by amodule, a program, or a part of code, which contains one or moreexecutable instructions for performing specified logic functions, andexecuted by one or more microprocessors or other control apparatuses.Also, at least one of these components, elements or units may furtherinclude or implemented by a processor such as a central processing unit(CPU) that performs the respective functions, a microprocessor, or thelike. Two or more of these components, elements or units may be combinedinto one single component, element or unit which performs all operationsor functions of the combined two or more components, elements of units.Also, at least part of functions of at least one of these components,elements or units may be performed by another of these components,element or units. Further, although a bus is not illustrated in theblock diagrams, communication between the components, elements or unitsmay be performed through the bus. Functional aspects of the aboveexample embodiments may be implemented in algorithms that execute on oneor more processors. Furthermore, the components, elements or unitsrepresented by a block or processing operations may employ any number ofrelated art techniques for electronics configuration, signal processingand/or control, data processing and the like.

After considering the specification and implementing the presentdisclosure, a person skilled in the art can readily think of otherimplementations of the disclosure. The disclosure is intended to coverany variations, uses or adaptations of the disclosure following thegeneral principles of the disclosure, and includes the well-knownknowledge and conventional technical means in the art and undisclosed inthe disclosure. The specification and the embodiments are merelyconsidered as examples, and the actual scope and the spirit of thedisclosure are pointed out by the following claims.

It is to be understood that the disclosure is not limited to theaccurate structures that are described in the foregoing and that areshown in the accompanying drawings, and modifications and changes may bemade without departing from the scope of the disclosure. The scope ofthe disclosure is subject only to the appended claims.

What is claimed is:
 1. A virtual vehicle control method in a virtual scene, performed by a terminal, the method comprising: providing a display interface of an application program, the display interface comprising a scene picture of the virtual scene, and the virtual scene comprising a virtual vehicle; obtaining a moving speed of the virtual vehicle; and adjusting, based on the moving speed of the virtual vehicle being greater than a moving speed threshold, the scene picture to a picture of the virtual vehicle being observed in the virtual scene by using a camera model in a predetermined viewing angle direction, the camera model being located at a position with respect to the virtual vehicle, wherein the display interface further comprises at least one primary virtual control that is overlaid on the scene picture, and the method further comprises: detecting a touch and slide operation that slides to a target point on the at least one primary virtual control; obtaining a virtual throttle opening of the virtual vehicle according to one of a directional angle and a transverse offset distance of the target point relative to a central position of the at least one primary virtual control; and controlling the virtual vehicle to move according to the virtual throttle opening of the virtual vehicle.
 2. The method according to claim 1, further comprising: obtaining a steering angle of the virtual vehicle according to a straight-line distance between the target point and the central position of the at least one primary virtual control; and controlling the virtual vehicle to move according to the steering angle of the virtual vehicle.
 3. The method according to claim 1, further comprising: controlling the virtual vehicle to accelerate within a maximum moving speed according to the virtual throttle opening.
 4. The method according to claim 1, wherein the display interface further comprises an auxiliary virtual control that is overlaid on the scene picture, and wherein the auxiliary virtual control comprises at least one of a longitudinal attitude control for controlling a longitudinal attitude of the virtual vehicle, a sudden acceleration control for controlling the virtual vehicle to perform sudden acceleration, a brake control for controlling the virtual vehicle to brake, or a reverse control for controlling the virtual vehicle to reverse.
 5. The method according to claim 1, wherein the at least one primary virtual control has a circular shape, and based on a straight-line distance between the target point and the central position of the at least one primary virtual control reaching or exceeding a radius of the at least one primary virtual control, a maximum value of the virtual throttle opening is obtained.
 6. The method according to claim 1, further comprising: based on a position of the target point on the at least one primary virtual control being located in an upper half part of the at least one primary virtual control, controlling the virtual vehicle to move forward, and based on the position of the target point on the at least one primary virtual control being located in a lower half part of the at least one primary virtual control, controlling the virtual vehicle to move backward.
 7. The method according to claim 1, further comprising, prior to displaying the at least one primary virtual control on the display interface: displaying a control mode selection interface including a double control mode option for controlling a steering angle and the virtual throttle opening through two virtual controls, and a single control mode option for controlling the steering angle and the virtual throttle opening through a single virtual control; and displaying the at least one primary virtual control for controlling the steering angle and the virtual throttle opening based on a selection of the single control mode option.
 8. A non-transitory computer-readable storage medium, storing program code executable by at least one processor to cause the at least one processor to perform the method according to claim
 1. 9. A virtual vehicle control method in a virtual scene, performed by a terminal, the method comprising: providing a display interface of an application program, the display interface comprising a scene picture of the virtual scene and at least one primary virtual control, the virtual scene comprising a virtual vehicle and the at least one primary virtual control being overlaid on the scene picture; detecting a touch and slide operation that slides to a target point on the at least one primary virtual control; obtaining a virtual throttle opening of the virtual vehicle according to one of a directional angle and a transverse offset distance of the target point relative to a central position of the at least one primary virtual control; and controlling the virtual vehicle to move according to the virtual throttle opening of the virtual vehicle.
 10. The method according to claim 9, further comprising: obtaining a steering angle of the virtual vehicle according to a straight-line distance between the target point and the central position of the at least one primary virtual control; and controlling the virtual vehicle to move according to the steering angle of the virtual vehicle.
 11. The method according to claim 10, wherein the at least one primary virtual control comprises a first virtual control and a second virtual control, and wherein the obtaining the steering angle of the virtual vehicle comprises obtaining the steering angle of the virtual vehicle according to a position of a target point, relative to a central position of the first virtual control, of a first slide operation performed in a region around the first virtual control, and obtaining the virtual throttle opening of the virtual vehicle comprises obtaining the virtual throttle opening of the virtual vehicle according to a position of a target point, relative to a central position of the second virtual control, of a second slide operation performed in a region around the second virtual control.
 12. The method according to claim 11, wherein the obtaining the steering angle of the virtual vehicle according to the position of the target point of the first slide operation comprises obtaining the steering angle of the virtual vehicle according to a straight-line distance between the target point and the central position of the first virtual control, and wherein the obtaining the virtual throttle opening of the virtual vehicle according to the position of the target point of the second slide operation comprises obtaining the virtual throttle opening of the virtual vehicle according to the directional angle of the position of the target point of the second slide operation relative to the central position of the second virtual control, or according to a transverse offset distance of the position of the target point of the second slide operation relative to the central position of the second virtual control.
 13. The method according to claim 9, wherein the display interface further comprises an auxiliary virtual control, and the auxiliary virtual control comprises at least one of a longitudinal attitude control for controlling a longitudinal attitude of the virtual vehicle, a sudden acceleration control for controlling the virtual vehicle to perform sudden acceleration, a brake control for controlling the virtual vehicle to brake, or a reverse control for controlling the virtual vehicle to reverse.
 14. The method according to claim 9, further comprising: obtaining a moving speed of the virtual vehicle; and adjusting, based on the moving speed of the virtual vehicle being greater than a moving speed threshold, the scene picture to a picture of the virtual vehicle being observed in the virtual scene by using a camera model in a predetermined viewing angle direction, the camera model being located at a position with respect to the virtual vehicle.
 15. A non-transitory computer-readable storage medium, storing program code executable by at least one processor to cause the at least one processor to perform the method according to claim
 9. 16. A terminal, comprising: at least one memory configured to store program code; and at least one processor configured to read the program code and operate as instructed by the program code, the program code comprising: interface providing code configured to cause at least one of the at least one processor to provide a display interface of an application program, the display interface comprising a scene picture of a virtual scene and at least one primary virtual control, the virtual scene comprising a virtual vehicle and the at least one primary virtual control being overlaid on the scene picture; detection code configured to cause at least one of the at least one processor to detect a touch and slide operation that slides to a target point on the at least one primary virtual control; first obtaining code configured to cause at least one of the at least one processor to obtain a virtual throttle opening of the virtual vehicle according to one of a directional angle and a transverse offset distance of the target point relative to a central position of the at least one primary virtual control; and control code configured to cause at least one of the at least one processor to control the virtual vehicle to move according to the virtual throttle opening of the virtual vehicle.
 17. The terminal according to claim 16, wherein the control code further causes at least one of the at least one processor to control the virtual vehicle to move in a moving direction of the virtual vehicle according to the steering angle of the virtual vehicle or control the virtual vehicle to accelerate within a maximum moving speed of the virtual vehicle according to the virtual throttle opening of the virtual vehicle.
 18. The terminal according to claim 16, wherein the at least one primary virtual control comprises a first virtual control and a second virtual control, wherein the program code further comprises second obtaining code configured to cause at least one of the at least one processor to adjust a steering angle of the virtual vehicle according to a position of a target point, relative to a central position of the first virtual control, of the slide operation performed in a region around the first virtual control, and wherein the first obtaining code is configured to cause at least one of the at least one processor to obtain the virtual throttle opening of the virtual vehicle according to a position of a target point, relative to a central position of the second virtual control, of the slide operation performed in a region around the second virtual control.
 19. The terminal according to claim 16, wherein the at least one primary virtual control has a circular shape, and based on straight-line distance between the target point and the central position of the at least one primary virtual control reaching or exceeding a radius of the at least one primary virtual control, a maximum value of the virtual throttle opening is obtained.
 20. The terminal according to claim 16, wherein the program code further comprises: obtaining code configured to cause at least one of the at least one processor to obtain a moving speed of the virtual vehicle; and scene adjusting code configured to cause at least one of the at least one processor to adjust, based on the moving speed of the virtual vehicle being greater than a moving speed threshold, the scene picture to a picture of the virtual vehicle being observed in the virtual scene by using a camera model in a predetermined viewing angle direction, the camera model being located at a position with respect to the virtual vehicle. 